package com.example.firststory;

import android.content.Context;
import android.graphics.Typeface;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class Config {

	private static Typeface negrita;
	private static Typeface regular;

	
		

		

	public static void setTypefaceNegrita(Context context, EditText et) {

		negrita = Typeface.createFromAsset(context.getAssets(),
				"Fonts/SignikaBold.ttf");
		et.setTypeface(negrita);
	
	}

	public static void setTypefaceNegrita(Context context, TextView tv) {

		negrita = Typeface.createFromAsset(context.getAssets(),
				"Fonts/SignikaBold.ttf");
		tv.setTypeface(negrita);
		
	}
	
	public static void setTypefaceRegular(Context context, EditText et) {

		regular = Typeface.createFromAsset(context.getAssets(),
				"Fonts/SignikaRegular.ttf");
		et.setTypeface(regular);
	
	}

	public static void setTypefaceRegular(Context context, TextView tv) {

		regular = Typeface.createFromAsset(context.getAssets(),
				"Fonts/SignikaRegular.ttf");
		tv.setTypeface(regular);
		
	}
	
	public static void setTypefaceNegrita(Context context, Button btn) {

		negrita = Typeface.createFromAsset(context.getAssets(),
				"Fonts/SignikaBold.ttf");
		btn.setTypeface(negrita);
		
	}
	
	public static void setTypefaceRegular(Context context, Button btn) {

		regular = Typeface.createFromAsset(context.getAssets(),
				"Fonts/SignikaRegular.ttf");
		btn.setTypeface(regular);
	
	}

}
